<%@ page import="cn.ranko.shiro.constants.ApplicationCode" %>
<%@ page import="cn.ranko.shiro.bean.authority.Message" %>
<%@ page import="com.alibaba.fastjson.JSON" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:if test="${isAjax==true}">
    <%
        String reponsetext = JSON.toJSONString(new Message(ApplicationCode.ERROR.getCode(), ApplicationCode.ERROR.getMessage()));
        response.getWriter().print(reponsetext);
    %>
</c:if>
<c:if test="${isAjax==false}">
    系统内部错误！
</c:if>
